package com.zzh.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzh.server.pojo.Admin;
import com.zzh.server.pojo.baseBean;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wenrouyue
 * @since 2022-04-07
 */
public interface IAdminService extends IService<Admin> {

    baseBean login(String username, String password, HttpServletRequest request);

    Admin getAdminByUsername(String username);

}
